package online.niuma.xiaocubao.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author 一颗蛋50斤
 * @since 2022-11-12
 */
@Getter
@Setter
@TableName("tb_article_body")
@ApiModel(value = "ArticleBody对象", description = "")
public class ArticleBody implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("文章内容id")
    @TableId(value = "body_id", type = IdType.ASSIGN_ID)
    private Long bodyId;

    @ApiModelProperty("文章纯文本内容")
    private String bodyContent;

    @ApiModelProperty("文章html格式内容")
    private String bodyContentHtml;

    @ApiModelProperty("文章id")
    private Long articleId;


}
